package com.itheima.service.impl;

import com.itheima.dao.BookDao;
import com.itheima.pojo.Book;
import com.itheima.service.BookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class BookServiceimpl implements BookService {
    @Autowired
    public BookDao bookDao;
    @Override
    public List<Book> findall() {
        return bookDao.findall();
    }
}
